package com.zkca.xf.model.javabean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by li on 2018/10/9.
 */

public class DianLiu_Z  {
    /**
     * result : 0
     * info : OK
     * totalRow : 25085
     * totalpage : 12543
     * pageNum : 1
     * pageSize : 2
     * size : 2
     * data : [{"id":33443,"did":34,"devId":"31FFDD053357333807652257","alarmTime":1539079202000,"devStatus":0,"acquireType":0,"resetStatus":0,"breakStatus":0,"afciInformation":0,"lineOvervoltage":0,"lineUndervoltage":0,"lineOverload":0,"testInformation":0,"lineTemperature":0,"lineLeakage":0,"loopStatus":1,"voltage":223.8,"current":0,"frequency":50,"factor":0,"currentPower":0,"maxPower":2,"reactivePower":0,"apparentPower":0,"electricQuantity":0.04,"temperatureValue":20.6,"leakageValue":2,"createTime":1539079203000,"createUser":"sys","updateTime":null,"updateUser":null,"comment":"设备状态:运行正常","platformId":null,"deptId":6,"deptName":"东城区消防大队","unitId":12,"unitName":"嘉禾国信大厦","unitAddress":"北京市东城区白桥大街15号","installPosition":"展示厅","resultStatus":null,"longitude":116.445455,"latitude":39.900903,"contact":"孙总","telphone":"17310967864","msgId":"9e45052127c84691905df4101f57ebec","type1":5,"type2":2,"type3":null,"longitudeStart":116.420264,"latitudeStart":39.916775},{"id":33442,"did":33,"devId":"33FFDF053357313521650957","alarmTime":1539079202000,"devStatus":0,"acquireType":0,"resetStatus":0,"breakStatus":0,"afciInformation":0,"lineOvervoltage":0,"lineUndervoltage":0,"lineOverload":0,"testInformation":0,"lineTemperature":0,"lineLeakage":0,"loopStatus":1,"voltage":222.2,"current":0,"frequency":50,"factor":0,"currentPower":0,"maxPower":0.3,"reactivePower":0,"apparentPower":0,"electricQuantity":0.05,"temperatureValue":20.9,"leakageValue":3,"createTime":1539079202000,"createUser":"sys","updateTime":null,"updateUser":null,"comment":"设备状态:运行正常","platformId":null,"deptId":6,"deptName":"东城区消防大队","unitId":12,"unitName":"嘉禾国信大厦","unitAddress":"北京市东城区白桥大街15号","installPosition":"展示厅","resultStatus":null,"longitude":116.445455,"latitude":39.900903,"contact":"孙总","telphone":"17310967864","msgId":"5025a96804394fb3be4c6b311dc59660","type1":5,"type2":2,"type3":null,"longitudeStart":116.420264,"latitudeStart":39.916775}]
     */

    private int result;
    private String info;
    private int totalRow;
    private int totalpage;
    private int pageNum;
    private int pageSize;
    private int size;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(int totalpage) {
        this.totalpage = totalpage;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 33443
         * did : 34
         * devId : 31FFDD053357333807652257
         * alarmTime : 1539079202000
         * devStatus : 0
         * acquireType : 0
         * resetStatus : 0
         * breakStatus : 0
         * afciInformation : 0
         * lineOvervoltage : 0
         * lineUndervoltage : 0
         * lineOverload : 0
         * testInformation : 0
         * lineTemperature : 0
         * lineLeakage : 0
         * loopStatus : 1
         * voltage : 223.8
         * current : 0.0
         * frequency : 50.0
         * factor : 0.0
         * currentPower : 0.0
         * maxPower : 2.0
         * reactivePower : 0.0
         * apparentPower : 0.0
         * electricQuantity : 0.04
         * temperatureValue : 20.6
         * leakageValue : 2
         * createTime : 1539079203000
         * createUser : sys
         * updateTime : null
         * updateUser : null
         * comment : 设备状态:运行正常
         * platformId : null
         * deptId : 6
         * deptName : 东城区消防大队
         * unitId : 12
         * unitName : 嘉禾国信大厦
         * unitAddress : 北京市东城区白桥大街15号
         * installPosition : 展示厅
         * resultStatus : null
         * longitude : 116.445455
         * latitude : 39.900903
         * contact : 孙总
         * telphone : 17310967864
         * msgId : 9e45052127c84691905df4101f57ebec
         * type1 : 5
         * type2 : 2
         * type3 : null
         * longitudeStart : 116.420264
         * latitudeStart : 39.916775
         */

        private int id;
        private int did;
        private String devId;
        private long alarmTime;
        private int devStatus;
        private int acquireType;
        private int resetStatus;
        private int breakStatus;
        private int afciInformation;
        private int lineOvervoltage;
        private int lineUndervoltage;
        private int lineOverload;
        private int testInformation;
        private int lineTemperature;
        private int lineLeakage;
        private int loopStatus;
        private double voltage;
        private double current;
        private double frequency;
        private double factor;
        private double currentPower;
        private double maxPower;
        private double reactivePower;
        private double apparentPower;
        private double electricQuantity;
        private double temperatureValue;
        private int leakageValue;
        private long createTime;
        private String createUser;
        private Object updateTime;
        private Object updateUser;
        private String comment;
        private Object platformId;
        private int deptId;
        private String deptName;
        private int unitId;
        private String unitName;
        private String unitAddress;
        private String installPosition;
        private int resultStatus;
        private double longitude;
        private double latitude;
        private String contact;
        private String telphone;
        private String msgId;
        private int type1;
        private int type2;
        private Object type3;
        private double longitudeStart;
        private double latitudeStart;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDid() {
            return did;
        }

        public void setDid(int did) {
            this.did = did;
        }

        public String getDevId() {
            return devId;
        }

        public void setDevId(String devId) {
            this.devId = devId;
        }

        public long getAlarmTime() {
            return alarmTime;
        }

        public void setAlarmTime(long alarmTime) {
            this.alarmTime = alarmTime;
        }

        public int getDevStatus() {
            return devStatus;
        }

        public void setDevStatus(int devStatus) {
            this.devStatus = devStatus;
        }

        public int getAcquireType() {
            return acquireType;
        }

        public void setAcquireType(int acquireType) {
            this.acquireType = acquireType;
        }

        public int getResetStatus() {
            return resetStatus;
        }

        public void setResetStatus(int resetStatus) {
            this.resetStatus = resetStatus;
        }

        public int getBreakStatus() {
            return breakStatus;
        }

        public void setBreakStatus(int breakStatus) {
            this.breakStatus = breakStatus;
        }

        public int getAfciInformation() {
            return afciInformation;
        }

        public void setAfciInformation(int afciInformation) {
            this.afciInformation = afciInformation;
        }

        public int getLineOvervoltage() {
            return lineOvervoltage;
        }

        public void setLineOvervoltage(int lineOvervoltage) {
            this.lineOvervoltage = lineOvervoltage;
        }

        public int getLineUndervoltage() {
            return lineUndervoltage;
        }

        public void setLineUndervoltage(int lineUndervoltage) {
            this.lineUndervoltage = lineUndervoltage;
        }

        public int getLineOverload() {
            return lineOverload;
        }

        public void setLineOverload(int lineOverload) {
            this.lineOverload = lineOverload;
        }

        public int getTestInformation() {
            return testInformation;
        }

        public void setTestInformation(int testInformation) {
            this.testInformation = testInformation;
        }

        public int getLineTemperature() {
            return lineTemperature;
        }

        public void setLineTemperature(int lineTemperature) {
            this.lineTemperature = lineTemperature;
        }

        public int getLineLeakage() {
            return lineLeakage;
        }

        public void setLineLeakage(int lineLeakage) {
            this.lineLeakage = lineLeakage;
        }

        public int getLoopStatus() {
            return loopStatus;
        }

        public void setLoopStatus(int loopStatus) {
            this.loopStatus = loopStatus;
        }

        public double getVoltage() {
            return voltage;
        }

        public void setVoltage(double voltage) {
            this.voltage = voltage;
        }

        public double getCurrent() {
            return current;
        }

        public void setCurrent(double current) {
            this.current = current;
        }

        public double getFrequency() {
            return frequency;
        }

        public void setFrequency(double frequency) {
            this.frequency = frequency;
        }

        public double getFactor() {
            return factor;
        }

        public void setFactor(double factor) {
            this.factor = factor;
        }

        public double getCurrentPower() {
            return currentPower;
        }

        public void setCurrentPower(double currentPower) {
            this.currentPower = currentPower;
        }

        public double getMaxPower() {
            return maxPower;
        }

        public void setMaxPower(double maxPower) {
            this.maxPower = maxPower;
        }

        public double getReactivePower() {
            return reactivePower;
        }

        public void setReactivePower(double reactivePower) {
            this.reactivePower = reactivePower;
        }

        public double getApparentPower() {
            return apparentPower;
        }

        public void setApparentPower(double apparentPower) {
            this.apparentPower = apparentPower;
        }

        public double getElectricQuantity() {
            return electricQuantity;
        }

        public void setElectricQuantity(double electricQuantity) {
            this.electricQuantity = electricQuantity;
        }

        public double getTemperatureValue() {
            return temperatureValue;
        }

        public void setTemperatureValue(double temperatureValue) {
            this.temperatureValue = temperatureValue;
        }

        public int getLeakageValue() {
            return leakageValue;
        }

        public void setLeakageValue(int leakageValue) {
            this.leakageValue = leakageValue;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public Object getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(Object updateUser) {
            this.updateUser = updateUser;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public Object getPlatformId() {
            return platformId;
        }

        public void setPlatformId(Object platformId) {
            this.platformId = platformId;
        }

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public int getUnitId() {
            return unitId;
        }

        public void setUnitId(int unitId) {
            this.unitId = unitId;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getUnitAddress() {
            return unitAddress;
        }

        public void setUnitAddress(String unitAddress) {
            this.unitAddress = unitAddress;
        }

        public String getInstallPosition() {
            return installPosition;
        }

        public void setInstallPosition(String installPosition) {
            this.installPosition = installPosition;
        }

        public int getResultStatus() {
            return resultStatus;
        }

        public void setResultStatus(int resultStatus) {
            this.resultStatus = resultStatus;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public String getTelphone() {
            return telphone;
        }

        public void setTelphone(String telphone) {
            this.telphone = telphone;
        }

        public String getMsgId() {
            return msgId;
        }

        public void setMsgId(String msgId) {
            this.msgId = msgId;
        }

        public int getType1() {
            return type1;
        }

        public void setType1(int type1) {
            this.type1 = type1;
        }

        public int getType2() {
            return type2;
        }

        public void setType2(int type2) {
            this.type2 = type2;
        }

        public Object getType3() {
            return type3;
        }

        public void setType3(Object type3) {
            this.type3 = type3;
        }

        public double getLongitudeStart() {
            return longitudeStart;
        }

        public void setLongitudeStart(double longitudeStart) {
            this.longitudeStart = longitudeStart;
        }

        public double getLatitudeStart() {
            return latitudeStart;
        }

        public void setLatitudeStart(double latitudeStart) {
            this.latitudeStart = latitudeStart;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", did=" + did +
                    ", devId='" + devId + '\'' +
                    ", alarmTime=" + alarmTime +
                    ", devStatus=" + devStatus +
                    ", acquireType=" + acquireType +
                    ", resetStatus=" + resetStatus +
                    ", breakStatus=" + breakStatus +
                    ", afciInformation=" + afciInformation +
                    ", lineOvervoltage=" + lineOvervoltage +
                    ", lineUndervoltage=" + lineUndervoltage +
                    ", lineOverload=" + lineOverload +
                    ", testInformation=" + testInformation +
                    ", lineTemperature=" + lineTemperature +
                    ", lineLeakage=" + lineLeakage +
                    ", loopStatus=" + loopStatus +
                    ", voltage=" + voltage +
                    ", current=" + current +
                    ", frequency=" + frequency +
                    ", factor=" + factor +
                    ", currentPower=" + currentPower +
                    ", maxPower=" + maxPower +
                    ", reactivePower=" + reactivePower +
                    ", apparentPower=" + apparentPower +
                    ", electricQuantity=" + electricQuantity +
                    ", temperatureValue=" + temperatureValue +
                    ", leakageValue=" + leakageValue +
                    ", createTime=" + createTime +
                    ", createUser='" + createUser + '\'' +
                    ", updateTime=" + updateTime +
                    ", updateUser=" + updateUser +
                    ", comment='" + comment + '\'' +
                    ", platformId=" + platformId +
                    ", deptId=" + deptId +
                    ", deptName='" + deptName + '\'' +
                    ", unitId=" + unitId +
                    ", unitName='" + unitName + '\'' +
                    ", unitAddress='" + unitAddress + '\'' +
                    ", installPosition='" + installPosition + '\'' +
                    ", resultStatus=" + resultStatus +
                    ", longitude=" + longitude +
                    ", latitude=" + latitude +
                    ", contact='" + contact + '\'' +
                    ", telphone='" + telphone + '\'' +
                    ", msgId='" + msgId + '\'' +
                    ", type1=" + type1 +
                    ", type2=" + type2 +
                    ", type3=" + type3 +
                    ", longitudeStart=" + longitudeStart +
                    ", latitudeStart=" + latitudeStart +
                    '}';
        }
    }
}
